package com.assessment.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.assessment.dao.Grade1Mapper;
import com.assessment.entity.FirstPhase;

@Service
public class Grade1Service implements Grade1Mapper {

	@Resource
	private Grade1Mapper grade1Mapper;

	public List<FirstPhase> findFirstPhase() {
		return grade1Mapper.findFirstPhase();
	}


	
	
	public FirstPhase findFirstPhaseExp(int staff_id) {
		return grade1Mapper.findFirstPhaseExp(staff_id);
	}

	public void qingjia1(int staffId) {
		grade1Mapper.qingjia1(staffId);

	}

	public void qingjia2(int staffId) {
		grade1Mapper.qingjia2(staffId);
	}

	public void updateTotal(FirstPhase firstPhase) {
		grade1Mapper.updateTotal(firstPhase);
	}

	public void importFirstPhase(FirstPhase firstPhase) {
		grade1Mapper.importFirstPhase(firstPhase);
			
		}




	public List<FirstPhase> findFirstPhaseBytotal() {
		// TODO Auto-generated method stub
		return grade1Mapper.findFirstPhaseBytotal();
	}    
}
